#override("title")
UNITD 贸易金融业务管理系统 - 登录
#end
#override("css")
<link href="#springUrl('/static/css/plugins/iCheck/custom.css')" rel="stylesheet">
#end
#override("body")
<body class="gray-bg">
<div class="middle-box loginscreen animated fadeInDown">
	<div>
		<div>
			<h1 class="logo-name">UN</h1>
		</div>
		<h3 class="text-center">欢迎使用 UNITD 贸易金融业务管理系统</h3>
		<form class="m-t" role="form" method="post" action="#springUrl('/login.html')">
			<input type="hidden" name="ReturnURL" value="$!{ReturnURL}">

			<div class="form-group">
				<input type="text" name="userName" class="form-control" placeholder="请输入用户名" minlength="1" maxlength="30" required="" aria-required="true">
			</div>
			<div class="form-group">
				<input type="password" name="userPwd" class="form-control" placeholder="请输入密码" minlength="1" maxlength="30" required="" aria-required="true">
			</div>
			<div class="form-group form-inline">
				<div class="checkbox i-checks"><label><input type="checkbox" name="rememberMe"><i></i>&nbsp;记住我</label>
				</div>
				<a href="#">
					<small>忘记密码了？</small>
				</a>
			</div>
			#if($!{errorMsg})
			<div class="form-group">
				<br>
				<div class="col-sm-10">
					<div class="alert alert-danger">$!{errorMsg}</div>
				</div>
			</div>
			#end
			<button type="submit" class="btn btn-primary block full-width m-b">登 录</button>
			<a class="btn btn-sm btn-white btn-block" href="#springUrl('/register.html')">注册一个新账号</a>
		</form>
		<p class="m-t text-center">
			<small><a target="_blank" href="http://www.united.com/">Powered by united Licensed &copy;united</a></small>
		</p>
	</div>
</div>
</body>
#end
#override("js")
<script src="#springUrl('/static/js/plugins/iCheck/icheck.min.js')"></script>
<script>
	$(document).ready(function () {
		$('.i-checks').iCheck({
			checkboxClass: 'icheckbox_square-green',
			radioClass: 'iradio_square-green',
		});
	});
</script>
#end
#extends("/common/base.html")